#define _CRT_SECURE_NO_WARNINGS 1

#include "Stack.h"


void test1()
{
	ST s1;
	StackInit(&s1);

	StackPush(&s1, 1);
	StackPush(&s1, 2);
	StackPush(&s1, 3);
	StackPush(&s1, 4);
	StackPush(&s1, 5);
	StackPop(&s1);

	StackData ret = STackTop(&s1);

	printf("%d\n", ret);

	StackPrint(&s1);

}
int main()
{
	test1();
	return 0;
}